
<%@page contentType="text/html;charset=UTF-8"   language="java"  %>
<%
  	String base = request.getContextPath();
%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Market Place</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<jsp:include page="/pages/common/include.jsp" flush="true"/>
		<link rel="stylesheet" type="text/css" href="<%=base%>/resources/css/refer-friend/main.css"/>

	</head>

	<body>
		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<jsp:include page="/pages/common/menu.jsp" flush="true" />
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav" id="headBox">
					<jsp:include page="/pages/common/top.jsp" flush="true" />
				</header>
				<header class="mui-bar mui-bar-nav GreenHeader">
				    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
				    <h1 class="mui-title">Refer a friend</h1>
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper noHead">
					<div class="mui-scroll">
						<div class="wrap referFriend">
							<div class="intro">
								People love to share online. Now we’re rewarding customers
who share our website with friends. It’s simple. If a friend signs up for a Wellcome Delivers account and makes a 
 purchase,You’ll get rewarded!
							</div>
							<div class="operateBtn">
								<h4>Get Started and Earn E-Coupons</h4>
								<div class="text">
									<p>Tell your friends now to start saving!</p>
								</div>
								<a href="javascript:void(0)" class="LogIn mui-btn mui-btn-block">Log in</a>
								<div class="btnBox">
									<a href="javascript:void(0)" class="forgetPwd mui-pull-left">Forget Password?</a>
									<a href="javascript:void(0)" class="GreateAaccount mui-pull-right">Create an account</a>
								</div>
							</div>
							<!--如果没有登录展示的内容-->
							<div class="operateBtn">
								<h4>Start Earning E-Coupon</h4>
								<div class="text">
									<p>At the moment,you are not quite ready to use our Refer a Friend tool.As soon as you make a purchase,you’ll get rewarded!</p>
									<p>Take a look around our website and make a purchase today to get chance in earning those e-coupons!</p>
								</div>
								<a href="javascript:void(0)" class="goShopping mui-btn mui-btn-block">Go Shopping</a>
							</div>
							<!--///////////////////如果没有登录展示的内容-->
							<!--登录过后展示的内容展示的内容-->
							<div class="operateBtn">
								<h4>Refer a friend . Both get rewarded</h4>
								<div class="text">
									<p>Tell your friends now and start saving!</p>
								</div>
								<a href="javascript:void(0)" class="tellFriend mui-btn mui-btn-block">Tell your friends today!</a>
							</div>
							<!--/////////////登录过后展示的内容展示的内容-->
							<div class="whatWork">
								<h4>How it works</h4>
								<div class="how-work">
									<div class="item">
										<div class="step-title">
											<span class="mui-badge">1</span>Email your friends using our Refer a Friend tool.</div>
										<img src="<%=base%>/resources/images/work-step-1.png" />
									</div>
									<div class="item">
										<div class="step-title">
											<span class="mui-badge">2</span>Your friend joins and makes a purchase.
										</div>
										<img src="<%=base%>/resources/images/work-step-2.png" />
									</div>
									<div class="item">
										<div class="step-title">
											<span class="mui-badge">3</span>You earn e-coupons to save more online.
										</div>
										<img src="<%=base%>/resources/images/work-step-3.png" />
									</div>
								</div>
								<a href="javascript:void(0)" class="term">Terms &amp; Conditions</a>
							</div>

							<!--category-->
						</div>
						<div class="footer" id="footer">
							<jsp:include page="/pages/common/footer.jsp" flush="true" />
						</div>
					</div>
				</div>
				
				<!--searchbar-->
				<div class="searchBar">
					<jsp:include page="/pages/common/search.jsp" flush="true" />
				</div>
				
				<div class="rightBottom animate"></div>
				
				<!-- off-canvas backdrop -->
				<div class="mui-off-canvas-backdrop"></div>
			</div>
		</div>
		<script type="text/javascript" src="<%=base%>/resources/js/refer-friend/main.js" ></script>
		<script>
		
			//主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
		</script>
	</body>

</html>